package com.kwan.widget.float_view.floatwindow;

import android.app.Activity;
import android.view.View;

/**
 * Created by yhao on 2017/12/22.
 * https://github.com/yhaolpz
 */

public abstract class IFloatWindow {

	public abstract void show(Activity activity);

	public abstract void hide(Activity activity);

	public abstract boolean isShowing();

	public abstract int getX();

	public abstract int getY();

	public abstract void updateShow(Activity activity);

	public abstract void updateX(int x);

	public abstract void updateX(@Screen.screenType int screenType, float ratio);

	public abstract void updateY(int y);

	public abstract void updateY(@Screen.screenType int screenType, float ratio);

	public abstract View getView();

	abstract void dismiss();
}
